#if !defined(OTA_HTTP_H)
#define OTA_HTTP_H


#define OTA_URL_FILEINFO "http://192.168.55.37:8000/fileinfo.json"
#define OTA_URL_DOWNLOAD "http://192.168.55.37:8000/download/gateway"
#define OTA_LOCAL_FILE_PATH "/home/jiang/gateway.updata"  //测试使用

/**
 * 请求获取json数据
 */
char *ota_http_getJSON(char *url);

/**
 * 下载文件
 */
int ota_http_download(char *url , char *filename);


#endif // OTA_HTTP_H
